package com.debao.system.mapper;

import java.util.List;
import com.debao.system.domain.RefundRecord;

/**
 * 退款订单Mapper接口
 * 
 * @author DeBao
 * @date 2024-10-14
 */
public interface RefundRecordMapper 
{
    /**
     * 查询退款订单
     * 
     * @param id 退款订单主键
     * @return 退款订单
     */
    public RefundRecord selectRefundRecordById(Long id);

    /**
     * 查询退款订单列表
     * 
     * @param refundRecord 退款订单
     * @return 退款订单集合
     */
    public List<RefundRecord> selectRefundRecordList(RefundRecord refundRecord);

    /**
     * 新增退款订单
     * 
     * @param refundRecord 退款订单
     * @return 结果
     */
    public int insertRefundRecord(RefundRecord refundRecord);

    /**
     * 修改退款订单
     * 
     * @param refundRecord 退款订单
     * @return 结果
     */
    public int updateRefundRecord(RefundRecord refundRecord);

    /**
     * 删除退款订单
     * 
     * @param id 退款订单主键
     * @return 结果
     */
    public int deleteRefundRecordById(Long id);

    /**
     * 批量删除退款订单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRefundRecordByIds(Long[] ids);
}
